package com.example.filter;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication
////启动过滤器
@ServletComponentScan //不使用注解过滤器需要加这个注解启动过滤器
public class FilterApplication {
    public static void main(String[] args){
        SpringApplication.run(FilterApplication.class,args);
    }
}

